package code.google.model.player.states;

import android.media.MediaPlayer;
import android.media.MediaPlayer.OnPreparedListener;

public class PreparingLocalState extends State implements OnPreparedListener {

	public PreparingLocalState(StateManager manager) {
		super(manager);
	}

	@Override
	public void onPrepared(MediaPlayer mp) {
		player.start();
		manager.setCurrentState(manager.getPlayingLocalState());
	}

}
